﻿/*********************************************************
 * 项目：
 * 描述：
 * 作者：英夫美迪 冯东耀 simadi@qq.com
 * 日期：2013/1/8 9:21:43
 * *******************************************************/

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Entity.TaoBao
{
   public class AccessToken
   {
       /// <summary>
       ///淘宝账号对应id
       /// </summary>
       public long taobao_user_id { get; set; }
       /// <summary>
       ///淘宝帐号
       /// </summary>
       public string taobao_user_nick { get; set; }
       /// <summary>
       ///w1级别API或字段的访问过期时间
       /// </summary>
       public string w1_expires_in { get; set; }
       /// <summary>
       ///w2级别API或字段的访问过期时间
       /// </summary>
       public string w2_expires_in { get; set; }
       /// <summary>
       ///Refresh token过期时间
       /// </summary>
       public int re_expires_in { get; set; }
       /// <summary>
       ///r1级别API或字段的访问过期时间
       /// </summary>
       public int r1_expires_in { get; set; }
       /// <summary>
       ///r2级别API或字段的访问过期时间
       /// </summary>
       public int r2_expires_in { get; set; }
       /// <summary>
       ///Access token过期时间
       /// </summary>
       public int expires_in { get; set; }
       /// <summary>
       ///Access token的类型目前只支持bearer
       /// </summary>
       public string token_type { get; set; }
       /// <summary>
       ///Refresh token
       /// </summary>
       public string refresh_token { get; set; }
       /// <summary>
       ///Access token
       /// </summary>
       public string access_token { get; set; }
    }
}
